<volist name="list" id="vo">
<div class="list6" style="background-color: #eff8fd; padding-left: 15px;">
	<h4 style="line-height: 30px; text-decoration: underline; color: #09F;"><a href="{:U('Public/Blog/article')}/id/{$vo.Id}">{$vo.Title}</a></h4>
	<p style="font-size: 12px; padding: 0;">{$vo.Content|substr=0,36}...</p>
	<ul class="listedit">
		<li style="">发布于:{$vo.CreateDate}</li>
		<li style="background-image: url(__IMG__/comment.gif); background-repeat: no-repeat;padding-left: 18px;">评论：0</li>
		<li style="background: url(__IMG__/icon_favourites.gif) no-repeat; padding-left: 18px;">阅读：{$vo.ViewCount}</li>
		<if condition=" $usertype eq 1 ">
		<li>
			<a id="ctl00_ContentPlaceHolder1_lvBlogLogs_ctrl0_hlEdit" href="{:U('Officer/Home/editblog')}/id/{$vo.Id}">编辑</a>
		</li>
		<li>
			<a id="ctl00_ContentPlaceHolder1_lvBlogLogs_ctrl0_lbtnDel" href="{:U('Officer/Home/delblog')}/id/{$vo.Id}" onclick="return del()">删除</a>
		</li>
		</if>
		<if condition=" $usertype eq 2 ">

		</if>
		<if condition=" $usertype eq 3 ">

		</if>
	</ul>
</div>
</volist>
<div class="yahoo2">
	<span id="ctl00_ContentPlaceHolder1_Pager1">
		<for start="1" end="$pagenum+1">
			<span href="__URL__/a0/id/{$uid}/page/{$i}/type/1" class='Current' act="loadtlog" style="cursor:pointer;border:1px solid #666;" >{$i}</span>
		</for>
		(第<b>{$page}</b>页/共<b>{$pagenum}</b>页)
	</span>
</div>

<script type="text/javascript">
	$(function(){
		obj=$("span[act='loadtlog']");
		obj.live("click",function(){
			var href=$(this).attr('href');
			$('.ajaxload').load(href);
		});
	});
</script>

<script language=javascript>
	function del() {  
		 if(window.confirm('你确定要删除该记录！')){
			 //alert("确定");
			 return true;
		  }else{
			 //alert("取消");
			 return false;
		 }
	  }//del end
</script>